home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 June: Reference Library / Dev.CD Jun 94.toast / Technical Documentation / Mac Tech Notes (DocViewer) / Toolbox / TN-Toolbox / TN-Toolbox.rsrc / TOC#_1000 < prev   
Encoding:
Text File  |  1994-04-27  |  13.8 KB  |  11 lines

  1. çTB 1 - BundlesHow to Create a BundleHow the Finder Uses BundlesProblems That May AriseFurther Reference:TB 2 - Calling SetResLoadFurther Reference:7TB 3 - How To Produce Continuous Sound Without ClickingFurther Reference:TB 4 - Custom Menu Flashing BugNot on the MenuNo Substitutions Allowed For Example…Further Reference:TB 5 - Custom WDEF and wDrawProblem & Solution:.TB 6 - Resources Contained in the Desktop FileFurther Reference:(TB 7 - Errors Returned from GetNewDialogFurther Reference:TB 8 - FindDItemFurther Reference:TB 9 - Finder FlagsFurther Reference:"TB 10 - Finders and Foreign DrivesIdentifying Foreign DrivesFormatting Foreign Drives Other Nifty Things to Know About)TB 11 - GetNextEvent; Blinking Apple Menu The obviousThe not-so-obviousThe more subtleFurther Reference:TB 12 - Key Mapping Introduction
  2. ADB Keyboards&Macintosh and Macintosh Plus KeyboardsHardware DependenciesRemapping the KeyboardRemap At Boot TimeRemap After Boot Time
  3. MPW Pascal'KCHR' Resource Format'KMAP' Resource FormatFurther Reference:.TB 14 - MultiFinder Frequently Asked Questions/How can I tell if WaitNextEvent is implemented?THow can I tell if the MultiFinder Temporary Memory Allocation calls are implemented?>How can I tell if my application is running in the background?&When exactly does juggling take place?`Can I disable suspend/resume events by passing the appropriate event mask to WNE/GNE/EventAvail?(Should my application use WaitNextEvent?@Is there anything else that I can do to be MultiFinder friendly?&Can I use a debugger with MultiFinder?2What happened to animated icons under MultiFinder?8How can I ensure maximal compatibility with MultiFinder?Further Reference:TB 15 - â€śNew” cdev Messages IntroductionFurther Reference:"TB 16 - New Resource Manager CallsTB 17 - Notification ManagerUsing the Notification Manager2How the Notification Manager Handles NotificationsCreating a Notification RequestNotification Manager Routines$How to Call _NMInstall and _NMRemovePascalCFurther Reference:-TB 18 - Maximum Number of Resources in a FileFurther Reference:4TB 19 - OpenRFPerm: What your mother never told you.Further Reference:!TB 20 - Owned Resource Shortcuts Further Reference:TB 21 - Reserved Resource TypesFurther Reference::TB 22 - Resource Header Application Bytes : Don’t Use themFurther Reference:TB 23 - Resource Manager TipsOpenResFile BugGetMenu and ResErrProcFurther Reference:TB 24 - Scrapbook File Format IntroductionScrapbook Brief OverviewScrapbook File Format OverviewCheck the 'vers' ResourceFormat of the 'SMAP' ResourceScrapbook ItemsGenerating Unique Resource IDs+Maintaining the Ordering of Scrapbook ItemsExampleScrapbook and QuickTimeTB 25 - Separate Resource FilesFurther Reference:-TB 26 - 'SICN' Tired of Large Icons in Menus?How to Add Less Reduced Icon
  4. Small IconBFigure 1–Menu Containing a 'SICN', an 'ICON', and a Reduced 'ICON'You Win Some; You Lose SomeFurther Reference:TB 27 - User Items in Dialogs%Defining a Dialog Box with a userItem,Loading and Preparing to Show the Dialog BoxIn MPW Pascal:
  5. In MPW C 3.0:In MPW Pascal:
  6. In MPW C 3.0:Invoking the Dialog BoxIn MPW Pascal:
  7. In MPW C 3.0:*Using userItem Items with Modeless DialogsFurther Reference5TB 28 - Problem with WaitNextEvent in MultiFinder 1.0Further Reference:TB 29 - WMgrPortabilityBewareWMgrPort and GrayRgnRulesExamplesHow to do these effectsWDEFs and MDEFsFurther Reference:TB 30 - _ZoomWindowBasics
  8. MPW PascalMPW C+For the More Adventurous (or Seeing Double)Further Reference:"TB 31 - 'CDEF' Parameters and BugsdrawCntl (0) and autoTrack (8)posCntl (5) and thumbCntl (6)
  9. _TrackControlFurther Reference:2TB 32 - ChangedResource: Too much of a good thing.Further Reference:TB 33 - Color, Windows and 7.0 Introduction Effects on existing applications!The Facts Ma’am, Just the Facts â€¦But How Does It Work?*Figure 1  Active Window—Active scroll bars6Figure 2  Active Window—Horizontal scroll bar disabled+Figure 3  Inactive Window—Notice gray title•Dialog and Alert Boxes,Buttons, Radio Buttons, Check Boxes and Text4And for Those Who Eke Out a Living at the Deep End â€¦#And You Thought It Would Never End!Further Reference:TB 34 - Movable Modal DialogsWhat’s involved"The Systems 'hmnu' string resource*An alternate 'hmnu' from your application #Using the alternate 'hmnu' resource'Removing the alternate 'hmnu' resource Further Reference:TB 35 - MultiFinder Miscellanea    SwitchingSuspend and Resume Events,Referencing Global Data (A5 and MultiFinder)    VBL TasksMPW Pascal 3.0    MPW C 3.0Completion RoutinesTime Manager TasksInterrupt Service RoutinesLaunching and MultiFinderThe Scrap and MultiFinder_UnmountVol and MultiFinderDisplaying a Splash ScreenThe Apple Menu and MultiFinderInterprocess Communication
  10. _PostEventMiscellaneous MiscellaneaFurther Reference:&TB 36 - Parameters for MDEF Message #3Further Reference:TB 37 - Pending Update Perils IntroductionThe Update And Modal DialogYuck, that’s nasty!In MPW C
  11. In MPW Pascal0If you do some, you have to do a little more....+New System 7 Dialog Manager call interfacesMPW C
  12. MPW Pascal MPW AssemblyMPW C
  13. MPW PascalThe System 6 WayMPW C
  14. MPW Pascal
  15. ConclusionFurther Reference:/TB 38 - Strip With _OpenResFile and _OpenRFPerm
  16. MPW PascalMPW C
  17. MPW PascalMPW CFurther Reference:TB 39 - Toolbox KarmaRules, Rules, RulesTraps Are Here to Stay%Data Structures Are Subject to Change"Write Robust Definition ProceduresUse Globals With CautionYour Future is Apple’s FutureFurther Reference:TB 505 - Component Manager Q&As+SetComponentInstanceA5 used for custom heap-RegisterComponentResource and 'thng' resource'Component Manager and multiple segments;Typecasting a component for use within OpenComponentResFile'Component Manager is part of System 7.1Component Manager documentation)QuickTime Components.p interface conflictTB 510 - Control Manager Q&As8Color with Macintosh radio button and check box controls&Changing a Macintosh control’s variantTB 515 - Control Panel Q&As7System 7 Finder filters Command-key messages from cdevs,'fwst' is window-position resource for cdevs;7.0 Finder intercepts Control Panel command key menu eventsTB 520 - Desktop Manager Q&As7Determining whether Desktop Manager calls are supported)Macintosh Desktop Manager vs desktop file:Removing icon data from Macintosh Desktop database or file(System 6 versus System 7 Desktop Manager3Determining if Macintosh Desktop Manager is presentTB 525 - Dialog Manager Q&As"CloseDialog and item list disposal)Using an 'ictb' with a Monitors extension@9-point Geneva with a userItem proc requires TextFont & TextSize.Using Geneva 9 in Macintosh dialog text fields7DlgCut, Copy and Paste are OK for modeless dialog boxes-Color dialog boxes on Macintosh 68000 systems1Where to find WDEF for movable modal dialog boxes@Sample resources for setting font & size of Macintosh text items"Movable modal dialog WDEF 0 procID.C version of AppendDITL now in Snippets folder'Disabling the System 7 Application menu&Bug with Macintosh color alert windows@How to gray out & restore static text item of 'DITL' in a 'DLOG'Alert dialog not updating How to create an 'ictb' resource&Colorized controls and TextEdit fields5Where to find System 6 WDEF for movable modal dialogs&Alert ParamText problem and workaround>CouldDialog, CouldAlert, FreeDialog, FreeAlert not implementedTB 530 - Event Manager Q&AsCKanji 7.1 and keydown events generating character codes $81 and $40"Getting OSEvents from a jGNEFilter@Consistent application scrolling speed for all Macintosh systems&'SIZE' resource is32BitCompatible flag9'SIZE' resource bit and resume events in window title bar+Using GetKeys to check Macintosh key status3System 7 applications need to be background-capable<Help balloons & OSEventAvail between BeginUpdate & EndUpdate&Macintosh Finder and DoubleTime global3Events and switching between Macintosh applications1PostHighLevelEvent and sending low-level messagesTB 535 - Finder Q&As.How to get Finder Label menu colors and labels9Determining whether a file is in the trash under System 6*System 7.1 Fonts folder selector is â€śfont”;Use Mac Finder for application file & folder icon placement2Forcing the Macintosh Finder to update the desktop?How often the Macintosh Finder updates its internal information;Controlling which application version is launched by Finder=Using 'dast' resource to display â€śAbout…” DA under System 7.0Creating a Finder alias,Macintosh Finder extensions aren’t supported,Macintosh Finder’s 'fmnu' menu resource TMPL-FindFolder and saving application preferences!System 7.0 and color volume icons0Reason for Finder â€śtrash can’t be emptied” alert3Saving as stationery for both Systems 6.0.x and 7.0/Old Finder information returned by PBGetCatInfoQuitting System 7 Finder"Special Macintosh alias file types6Macintosh System 6.0.x Finder rules for emptying trash?What do all the bits in System 6 Finder’s 'LAYO' resource mean?TB 540 - Help Manager Q&As8Changing help balloon text when dialog check box changesNo pre-System 7 Help Manager0Help Manager menu command-key bug and workaround.Menu help balloons with application extensions3BalloonWriter 1.0f3 rez input file bug & workaround!Balloon Help and modeless dialogs$Balloon help for menus with submenusHelp for nested dialogsHelp menus with two menu bars$Balloon help for application windows9Displaying button help strings for Chooser device package0How to tell if a window is a help balloon window2HMShowBalloon styled TEHandle limit and workaround*Balloon help equivalent for System 6 users0Help balloons and short messages with long words*More than 239 characters in a help balloon$Workaround for help menu MenuKey bug$HMGetIndHelpMsg and 'hrct' resources.HMSetBalloonContents controls runaway balloons4HMSetMenuResID & kHMCompareItem with 'hmnu' resource@Changing the default help balloon for your Macintosh application5Help balloons can’t be attached to HyperCard palettes<Determining within HyperTalk whether balloon help is enabled)Macintosh Help Manager and resource filesControl Panel cdev Balloon Help#cdevs and foreign language balloonsTB 545 - List Manager Q&As<Avoid Macintosh List Manager for manipulating large matrices.Creating Macintosh columns with various widths-Code for putting a list in a modal dialog boxTB 550 - Menu Manager Q&As>Coercing the standard menu def proc to draw a single menu item9OK to call GetMenu repeatedly except for 128K or 512K Mac@Forcing a pop-up menu to be drawn with extra space on right side9Detecting if a menu belongs to a Macintosh Desk Accessory5Help, Keyboard, and Application menu IDs don’t change-Technique for changing a Macintosh menu title1Associating Macintosh color icons with menu items9Code for drawing to a Macintosh window while menu is open/Dimming Macintosh menu items from a custom MDEF9TheMenu global and determining when a menu is pulled down2Using Shift and Option keys with menu Command keys,Moving a menu bar from one screen to another:No way to include a color icon with a Macintosh menu title+Long menus: Enabling or disabling >31 items-Enabling & disabling >31 Macintosh menu items?Changing fonts & font sizes displayed in Macintosh pop-up menus)DA code for inserting and removing a menuMacintosh tear-off menus1Lining up Macintosh submenus and 'SICN' resources$How to add icons to System 7.0 menus3Use dialog scrolling list instead of long menu list9Code for appending a menu item containing meta-charactersTB 555- Resource Manager Q&As.Order of resources retrieved by GetIndResourceMacintosh resource ID numbering?Locate Macintosh folder first with FindFolder before OpenRFPerm9HOpenResFile with fsRdPerm permission returns unique pathChanging a Macintosh resource2System 7.0 Resource Manager resource decompressionHOpenResFile versus OpenResFile0Partial resources and compressed resource format Getting Macintosh system strings?Pre-load resources & calling OpenResFile on another application<Maximum number of items in a Macintosh resource file is 27275Maximum Macintosh resource size is â€śmaxlongint” bytesTB 560 - Scrap Manager Q&As)When to call GetScrap in a Desk Accessory0Clipboard window should be hidden in MultiFinderTB 565 - Sound Input Q&As4Macintosh IIsi sound input documentation and samplesTB 570 - Sound Manager Q&As)Sound Manager 3.0 SndPlayFromDisk support5How to play Macintosh sounds in a continuous sequence!Sound Manager versus Sound Driver.Specifying a Macintosh Sound Manager frequency>Which Macintosh systems support internal speaker stereo mixing9Macintosh code and instructions for generating dial tones)Macintosh sndRecord filter proc structure=SndPlayDoubleBuffer doesn’t work on Macintosh Plus or Classic#SndDoImmediate versus SndDoCommands0SndStartFilePlay 20,000-byte minimum buffer size/Playing 16-bit sound data from a Macintosh disk=SndStartFilePlay: no NIL sound channel for asynchronous plays.Where to get Macintosh sound compression specs*Playing a sound from a Macintosh interrupt'Correct value of Macintosh initNoInterp+Determining Macintosh Sound Manager version6Using the Sound Manager to produce desired frequencies8How can I play more than one Macintosh sample at a time?>Why Macintosh system crashes when StartSound is launched twice9Changing the pitch of a sample in Macintosh Sound Manager=Specifying different frequencies for the Macintosh Note Synth;How to minimize clicking sound when using Mac Sound Manager/Macintosh Sound Manager changes in System 6.0.4SetupAIFFHeader bugHow to get MACE algorithms3Macintosh System 6.0.5/MACE problem fixed for 6.0.7 MACE-compressed sound -201 errorMPW C sound.h header file fixTB 575 - Window Manager Q&As$Don’t call FrontWindow from VBL task=How to determine Mac window title bar height for localization>Code for implementing a Macintosh grow box but not scroll bars(Macintosh tool palette windoid reference3Implementing Macintosh floating windows or palettes$How the system WDEF determines color'Detaching a WDEF from its resource file Custom WDEFs in DAs not possibleMacintosh DA with custom 'WDEF'